package com.ccav.web.controller.index;

import com.ccav.core.customer.BaseDictServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {

    @Autowired
    BaseDictServiceImpl baseDictService;

    @GetMapping
    public String index(Model model) {
        model.addAttribute("welcome","这里可以做实验");
        return "index";
    }

}
